package com.tm.payment.util;

public class AlipayConfig {
    // 支付宝网关地址
    public static final String alipayGateway = "https://openapi.alipay.com/gateway.do";

    // 应用ID
    public static final String appId = "9021000145651504";

    // 应用私钥
    public static final String privateKey = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCeuTrdR3OYUtf3t0qWeSjd701QWeMCcaVmlNb5QRPkzGo0bRUqRudwh0o8ujJ9m34CstMvg";

    // 支付宝公钥
    public static final String alipayPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxS9pVpPyLUVVF5jjRWGAvZYrNxWFAzcAfgUKSi";

    // 数据格式，固定为 JSON
    public static final String format = "JSON";

    // 字符编码，固定为 UTF-8
    public static final String input_charset_utf = "UTF-8";

    // 签名类型，固定为 RSA2
    public static final String sign_type_rsa2 = "RSA2";

    // 异步通知地址
    public static final String notifyUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

    // 同步跳转地址
    public static final String returnUrl = "http://localhost:8080/alipay/returnNotice";
}
